package com.ykzb.project.mapper;

import com.ykzb.project.model.ProjectInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by mac on 2017/3/31.
 */
@Repository(value="projectMapper")
public interface ProjectMapper {

    List<ProjectInfo> selectProject(Map<String,Object> param) throws Exception;

    List<ProjectInfo> selectRecomendProject(@Param("num") Integer num) throws Exception;

    ProjectInfo selectProjectById(@Param("id") Long id)throws Exception;

}
